import service from '@/utils/request'

// 用户登录
export const layoutApi = (username, password) => {
  console.log('api', username, password)
  return service.post('/972a96c5-fd06-4ad1-9ab7-d44501b280bc/login?apipost_id=84f4fa', {
    username,
    password
  })
}
export const profile = () => {
  return service.get('/users/profile')
}
// 用户推出登录
export const layoutouApi = () => {
  return service.post('/972a96c5-fd06-4ad1-9ab7-d44501b280bc/logout?apipost_id=c0dec1')
}
